package com.java.activiti.util;

import net.sf.json.JSON;

/**
 * @Company: PcGroup.ltd
 * @Author: wei.ye
 * @Date: 2021/1/13 14:25
 * @Modified:2021/1/13 14:25
 * @Description:  通用的JSON响应工具类
 */

public class CommonResponse {
    public static String JSONString(int statusCode,Object msg){
        return "[statusCode:"+statusCode+",msg{"+ com.alibaba.fastjson.JSON.toJSONString(msg)+"}]";
    }
}